package edu.terapia.model;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the identity_object_attribute database table.
 * 
 */
@Entity
@Table(name="identity_object_attribute")
public class IdentityObjectAttribute implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private int id;

	private String name;

	private String valeu;

	//bi-directional many-to-one association to IdentityObject
	@ManyToOne
	@JoinColumn(name="IDENTITY_OBJECT_ID")
	private IdentityObject identityObject;

	public IdentityObjectAttribute() {
	}

	public int getId() {
		return this.id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getValeu() {
		return this.valeu;
	}

	public void setValeu(String valeu) {
		this.valeu = valeu;
	}

	public IdentityObject getIdentityObject() {
		return this.identityObject;
	}

	public void setIdentityObject(IdentityObject identityObject) {
		this.identityObject = identityObject;
	}

}